package com.lbw.proxy.staticproxy;

/**
 * @author lbw
 * @version 1.0
 * @date 2021/6/13 14:50
 */
public class Client {
    public static void main(String[] args) {
        // 被代理对象
        TeacherDao teacherDao = new TeacherDao();
        TeacherProxy teacherProxy = new TeacherProxy(teacherDao);

        teacherProxy.teach();
    }
}
